package com.eastjet.maintenance.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.eastjet.maintenance.domain.Allocate;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
import java.util.Map;

/**
 * @author 杨博文
 * @description 针对表【allocate(设备调拨)】的数据库操作Service
 * @createDate 2024-11-25 09:23:37
 */
public interface AllocateService extends IService<Allocate> {

    /*
    新增设备调拨
     */
    @Transactional(rollbackFor = Exception.class)
    Boolean InsertAllocate(Map<String, Object> map);

    /*
    查询设备调拨
     */
    List<Allocate> SelectAllocate(Allocate allocate);

    /*
    修改设备调拨
     */
    Boolean UpdateAllocate(List<Allocate> allocate);

    /*
     删除设备调拨
     */
    Boolean DeleteAllocate(List<Allocate> allocate);

}
